<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="../common/common.jsp"%>
<title>通知</title>
</head>
<body>
		<%@ include file="../common/header.jsp"%>
		<div class="container">
			<div class="row">
				<div class="panel panel-default">
					<c:if test="${tab eq 'bbs'}">
						<%@ include file="bbsNotification.jsp"%>
					</c:if>
					<c:if test="${tab eq 'shop'}">
						<%@ include file="shopNotification.jsp"%>
					</c:if>
					<c:if test="${tab eq 'system'}">
						<%@ include file="systemNotification.jsp"%>
					</c:if>
				</div>
			</div>
		</div>
		<%@ include file="../common/footer.jsp"%>
	<script type="text/javascript">
		var type = '${tab}';
		$.ajax({
			type : 'POST',
			url : ctx + '/notification/setNotificationReaded.do',
			data : {
				type : type
			},
			dataType : 'json',
			timeout : 30000,
			context : $('body'),
			success : function(data) {
			},
			error : function(xhr, type) {
			}
		});
	</script>	
</body>
</html>